package com.zzl.bonds.ticket.dto.feign;

import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import com.zzl.apidoc.constants.RequiredType;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 企业用户信息表
 *
 * @author gull
 * @date 2022-03-25 15:09:41
 */
@Data
@ApidocModel
@SuppressWarnings("javadoc")
public class EnterpriseUserAddDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApidocModelProperty(description = "主键")
    private Integer id;
    @NotBlank(message = "企业名称不能为空")
    @ApidocModelProperty(description = "企业名称",required = RequiredType.TRUE)
    private String enterpriseName;
    @NotEmpty(message = "企业id不能为空")
    @ApidocModelProperty(description = "企业id",required = RequiredType.TRUE)
    private String enterpriseId;
    @NotBlank(message = "证件类型编码不能为空")
    @ApidocModelProperty(description = "证件类型编码，0 身份证 1 护照 8 企业营业执照 B港澳居民往来内地通行证 " +
            "C 台湾居民往来大陆通行证 H 事业单位法人证书 J 社会团体登记证书 N企业统一社会信用代码",required = RequiredType.TRUE)
    private String identTypeCode;
    @NotBlank(message = "证件号码不能为空")
    @ApidocModelProperty(description = "证件号码",required = RequiredType.TRUE)
    private String identNo;
    @NotBlank(message = "企业联系电话不能为空")
    @ApidocModelProperty(description = "企业联系电话",required = RequiredType.TRUE)
    private String landlinePhone;
    @NotBlank(message = "手机号不能为空")
    @ApidocModelProperty(description = "手机号")
    private String mobilePhone;
//以下属性，暂时用不到
//    @ApidocModelProperty(description = "认证方式	")
//    private Integer authenticationMode;
//    @ApidocModelProperty(description = "是否开通SM2证书")
//    private String isOpenSm2;
//    @ApidocModelProperty(description = "用于登录手机")
//    private String usedMobileLogin;
//    @ApidocModelProperty(description = "邮箱")
//    private String email;

    @NotBlank(message = "经办人名称不能为空")
    @ApidocModelProperty(description = "经办人名称")
    private String transactorName;
    @ApidocModelProperty(description = "证件类型编码，0 身份证 1 护照 8 企业营业执照 B港澳居民往来内地通行证 " +
            "            C 台湾居民往来大陆通行证 H 事业单位法人证书 J 社会团体登记证书 N企业统一社会信用代码")
    private String transactorIdentTypeCode;
    @NotBlank(message = "证件号码不能为空")
    @ApidocModelProperty(description = "证件号码")
    private String transactorIdentNo;
    @ApidocModelProperty(description = "经办人地址")
    private String address;
    @ApidocModelProperty(description = "手机号码")
    private String transactorMobilePhone;
    @ApidocModelProperty(description = "企业id")
    private Integer enterpriseUserId;
    @ApidocModelProperty(description = "经办人id")
    private String transactorId;


}
